package com.zhainan.springmvc.view;

import java.util.Map;

/**
 * Created by lvchang on 2016/10/2.
 */
public class ModelAndView {
    private Map<String, String> model;
    private String viewName;

    public ModelAndView(Map<String, String> model, String viewName) {
        this.model = model;
        this.viewName = viewName;
    }

    public Map<String, String> getModel() {
        return model;
    }

    public void setModel(Map<String, String> model) {
        this.model = model;
    }

    public String getViewName() {
        return viewName;
    }

    public void setViewName(String viewName) {
        this.viewName = viewName;
    }
}
